<template>
	<view class="device">
		<view class="head" :style="{height: pHeight + tHeight + 'px'}">
			<view class="xztitle" :style="[{height: pHeight + 'px', top: tHeight + 'px',lineHeight: pHeight + 'px'}]">
				订单查询
				<view class="iconfont icon-dayuhao1" @click="fanhui"></view>
			</view>
		</view>
		<view class="headtop" :style="{marginTop: pHeight + tHeight + 'px'}">
			<view class="sousuo clearfix">
				<view class="left fl clearfix" @click="keytankuang">
					<view class="name fl">{{keyleixing_name}}</view>
					<image :src="baseUrl + '/wximage/dataxl.png'" class="fl"></image>
				</view>
				<view class="right fr">
					<input type="text" placeholder="请输入关键字" v-model="keywords" @confirm="sousuo" />
					<image :src="baseUrl + '/wximage/sousuo.png'" @click="sousuo"></image>
				</view>
			</view>
			<view class="tiaojian">
				<view class="list fl clearfix" @click="mendiantankuang">
					<view class="name fl">{{station_name}}</view>
					<image :src="baseUrl + '/wximage/dataxl.png'"></image>
				</view>
				<view class="list fl clearfix" @click="jiedantankuang">
					<view class="name fl">{{jiedan_name}}</view>
					<image :src="baseUrl + '/wximage/dataxl.png'"></image>
				</view>
				<view class="list fl clearfix" @click="yuangongtankuang" v-if="role_id == 1 || role_id == 11">
					<view class="name fl">{{yuangong_name}}</view>
					<image :src="baseUrl + '/wximage/dataxl.png'"></image>
				</view>
				<view class="list fl clearfix" @click="zhuangtaitankuang">
					<view class="name fl">{{status_name}}</view>
					<image :src="baseUrl + '/wximage/dataxl.png'"></image>
				</view>
				<view class="more fr" @click="moretankuang">更多</view>
			</view>
			
			<view class="beijing" v-if="bjstatus" @click="guanbi"></view>
			<view class="tankuang" v-if="keystatus">
				<view class="liebiao" @click="keyxuanze(1,'订单编号')">
					<view class="wenzi">订单编号</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="keyleixing_id == 1"></image>
				</view>
				<view class="liebiao" @click="keyxuanze(2,'设备编码')">
					<view class="wenzi">设备编码</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="keyleixing_id == 2"></image>
				</view>
				<view class="liebiao" @click="keyxuanze(3,'宝编码')">
					<view class="wenzi">宝编码</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="keyleixing_id == 3"></image>
				</view>
				<view class="liebiao" @click="keyxuanze(4,'手机号')">
					<view class="wenzi">手机号</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="keyleixing_id == 4"></image>
				</view>
				<view class="liebiao" v-if="role_id == 1 || role_id == 11" @click="keyxuanze(5,'门店名称')">
					<view class="wenzi">门店名称</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="keyleixing_id == 5"></image>
				</view>
				<view class="liebiao" v-if="role_id != 12" @click="keyxuanze(6,'商户名称')">
					<view class="wenzi">商户名称</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="keyleixing_id == 6"></image>
				</view>
			</view>
			<view class="tankuang" v-if="mendianstatus">
				<view class="liebiao" @click="mendianxuanze('','所属门店')">
					<view class="wenzi">全部门店</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="station_id == ''"></image>
				</view>
				<view class="liebiao" v-for="(item,index) in mendianList" :key="index" @click="mendianxuanze(item.id,item.name)">
					<view class="wenzi">{{item.name}}</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="station_id == item.id"></image>
				</view>
			</view>
			<view class="tankuang" v-if="jiedanstatus">
				<view class="liebiao" @click="jiedanxuanze(0,'结单类型')">
					<view class="wenzi">全部</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="jiedan_id == ''"></image>
				</view>
				<view class="liebiao" v-for="(item,index) in jiedanList" :key="index" @click="jiedanxuanze(item.id,item.name)">
					<view class="wenzi">{{item.name}}</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="jiedan_id == item.id"></image>
				</view>
			</view>
			<view class="tankuang" v-if="yuangongstatus">
				<view class="liebiao" @click="yuangongxuanze('','所属员工')">
					<view class="wenzi">全部员工</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="yuangong_id == ''"></image>
				</view>
				<view class="liebiao" v-for="(item,index) in yuangongList" :key="index" @click="yuangongxuanze(item.id,item.username)">
					<view class="wenzi">{{item.username}}</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="yuangong_id == item.id"></image>
				</view>
			</view>
			<view class="tankuang" v-if="zhuangtaistatus">
				<view class="liebiao" @click="statusxuanze(0,'全部状态')">
					<view class="wenzi">全部</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="status_id == ''"></image>
				</view>
				<view class="liebiao" v-for="(item,index) in statusList" :key="index" @click="statusxuanze(item.id,item.name)">
					<view class="wenzi">{{item.name}}</view>
					<image :src="baseUrl + '/wximage/shaixuanbj.png'" v-if="status_id == item.id"></image>
				</view>
			</view>
		</view>
		<view class="morebeijing" v-if="morebjstatus" @click="guanbi"></view>
		<view class="moretankuang" v-if="morestatus">
			<view class="bankuai">
				<view class="top">时间选择</view>
				<view class="time">
					<text>{{sdatelabel}}</text>至<text>{{edatelabel}}</text>
				</view>
				<view class="bottom clearfix">
					<text @click="show = true">开始时间</text>
					<text @click="show = true">结束时间</text>
				</view>
				<u-calendar v-model="show" :mode="mode" toolTip="时间选择" @change="change"></u-calendar>
			</view>
			<view class="bankuai">
				<view class="top">订单类型</view>
				<view class="bottom clearfix">
					<text :class="[orderIndex==0?'active':'']" @click="orderIndex = 0">全部</text>
					<text :class="[orderIndex==1?'active':'']" @click="orderIndex = 1">普通订单</text>
					<text :class="[orderIndex==2?'active':'']" @click="orderIndex = 2">会员订单</text>
				</view>
			</view>
			<view class="bankuai">
				<view class="top">宝类型</view>
				<view class="bottom clearfix">
					<text :class="[baoIndex==0?'active':'']" @click="baoIndex = 0">全部</text>
					<text :class="[baoIndex==1?'active':'']" @click="baoIndex = 1">快充宝</text>
					<text :class="[baoIndex==2?'active':'']" @click="baoIndex = 2">普通宝</text>
				</view>
			</view>
			<view class="bankuai">
				<view class="top">订单属性</view>
				<view class="bottom bottomts clearfix">
					<text :class="[attrIndex==0?'active':'']" @click="attrIndex = 0">全部</text>
					<text :class="[attrIndex==1?'active':'']" @click="attrIndex = 1">充电宝</text>
					<text :class="[attrIndex==2?'active':'']" @click="attrIndex = 2">充电盒子</text>
					<text :class="[attrIndex==3?'active':'']" @click="attrIndex = 3">充电线</text>
				</view>
			</view>
			<view class="queren" @click="queren">
				确认
			</view>
		</view>
		<view class="content" v-if="list.length != 0">
			<view class="list" v-for="(item,index) in list" :key="index">
				<view class="top clearfix" @click="topage('/subpackageA/order/detail?id=' + item.id)">
					<image :src="baseUrl + '/wximage/ordertubiao.png'" class="fl" v-if="item.attr == 1"></image>
					<image :src="baseUrl + '/wximage/orderhezitubiao.png'" class="fl" v-if="item.attr == 2"></image>
					<image :src="baseUrl + '/wximage/ordercdxtubiao.png'" class="fl" v-if="item.attr == 3"></image>
					<view class="title fl">{{item.out_order_no}}</view>
					<view class="money fr" v-if="role_id != 12 && item.money != null">￥{{item.money}}元</view>
					<view class="money fr" v-else></view>
				</view>
				<view class="center" v-if="role_id != 12" @click="topage('/subpackageA/order/detail?id=' + item.id)">
					<view class="desc">设备编码：{{item.charge_number}}</view>
					<view class="desc" v-if="item.attr == 1">充电宝编码：{{item.charge_bao_sn}}</view>
					<view class="desc">所属商户：{{item.bussiness_name}}</view>
					<view class="desc">所属门店：{{item.wdtitle}}</view>
					<view class="desc">下单时间：{{item.create_time}}</view>
				</view>
				<view class="center" v-else>
					<view class="desc">设备编码：{{item.charge_number}}</view>
					<view class="desc" v-if="item.attr == 1">充电宝编码：{{item.charge_bao_sn}}</view>
					<view class="desc">所属商户：{{item.bussiness_name}}</view>
					<view class="desc">所属门店：{{item.wdtitle}}</view>
				</view>
				<view v-if="role_id != 12">
					<view class="bottom clearfix" v-if="order_id != item.id" @click="order_id = item.id">
						<view class="name">分成信息</view>
						<image :src="baseUrl + '/wximage/right.png'"></image>
					</view>
					<view class="bottom clearfix" v-else @click="order_id = ''">
						<view class="desc" v-if="item.agent_money != null">代理商分成：￥{{item.agent_money}}元</view>
						<view class="desc" v-if="item.bussiness_money != null">商户分成：￥{{item.bussiness_money}}元</view>
						<view class="desc" v-if="item.yuangong_money != null">员工分成：￥{{item.yuangong_money}}元</view>
						<image :src="baseUrl + '/wximage/shang.png'"></image>
					</view>
				</view>
			</view>
		</view>
		<view class="empty" v-else>
			<image :src="baseUrl + '/wximage/empty.png'"></image>
			<text>暂无相关数据</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				baseUrl: getApp().globalData.baseUrl,
				headerTop: 0,
				pHeight: 0,
				tHeight: 0,
				keywords: '',
				list: [],
				bjstatus: false,
				keystatus: false,
				mendianstatus: false,
				jiedanstatus: false,
				yuangongstatus: false,
				zhuangtaistatus: false,
				morebjstatus: false,
				morestatus: false,
				show: false,
				mode: 'range',
				sdate: '',
				edate: '',
				sdatelabel: '--',
				edatelabel: '--',
				orderIndex: 0,
				baoIndex: 0,
				attrIndex: 0,
				agent_id: '',
				role_id: '',
				formData: {
					agent_id: '',
					role_id: '',
					keyleixing_id: '',
					keywords: '',
					station_id: '',
					jiedan_id: '',
					yuangong_id: '',
					status_id: '',
					sdate: '',
					edate: '',
					orderLeixing: '',
					baoLeixing: '',
					attrIndex: '',
					page: 1,
					pageSize: 10,
				},
				total: 0,
				
				keyleixing_id: '',
				keyleixing_name: '请选择',
				
				station_name: '所属门店',
				station_id: '',
				mendianList: [],
				
				jiedan_name: '结单类型',
				jiedan_id: '',
				jiedanList: [{
					id: 1,
					name: '归还'
				},{
					id: 2,
					name: '丢失'
				},{
					id: 3,
					name: '封顶'
				},{
					id: 4,
					name: '客服结单'
				}],
				
				yuangong_name: '所属员工',
				yuangong_id: '',
				yuangongList: [],
				
				status_name: '全部状态',
				status_id: '',
				statusList: [{
					id: 1,
					name: '弹宝中'
				},{
					id: 2,
					name: '计费中'
				},{
					id: 3,
					name: '暂停计费'
				},{
					id: 4,
					name: '待支付'
				},{
					id: 5,
					name: '支付中'
				},{
					id: 6,
					name: '已支付'
				},{
					id: 7,
					name: '已取消'
				},{
					id: 8,
					name: '部分退款'
				},{
					id: 9,
					name: '全部退款'
				},{
					id: 10,
					name: '退款中'
				},{
					id: 12,
					name: '已购买'
				}],
				
				order_id: '',
			}
		},
		onLoad() {
			// 头部距离
			let res = uni.getSystemInfoSync() ///微信api方法
			let titleH;
			if (res && res['system']) {
				// 判断是否是安卓操作系统 （标题栏苹果为44px,安卓为48px）
				if (res['system'].indexOf('Android') > 0) {
					titleH = 48
				} else {
					titleH = 46
				}
				this.headerTop = titleH + res['statusBarHeight']
				this.pHeight = titleH
				this.tHeight = res['statusBarHeight']
			}
			
			this.agent_id = uni.getStorageSync('agent_id');
			this.role_id = uni.getStorageSync('role_id');
			
			// 获取所有门店列表
			this.request({
				url: '/xcx/stationList',
				data: {
					agent_id: this.agent_id,
					role_id: this.role_id,
				},
				method: "POST"
			}).then(res => {
				if (res.data.code == 200) {
					this.mendianList = res.data.data;
				} else {
					uni.showToast({
						title: '请求失败，请稍后再试',
						icon: 'none'
					})
				}
			})
			
			if(this.role_id == 1 || this.role_id == 11){
				// 获取所有员工列表
				this.request({
					url: '/xcx/yuangongList',
					data: {
						agent_id: this.agent_id,
						role_id: this.role_id,
					},
					method: "POST"
				}).then(res => {
					if (res.data.code == 200) {
						this.yuangongList = res.data.data;
					} else {
						uni.showToast({
							title: '请求失败，请稍后再试',
							icon: 'none'
						})
					}
				})
			}
			
			this.formData.agent_id = this.agent_id;
			this.formData.role_id = this.role_id;
			this.getList();
		},
		onReachBottom() {
			if(this.total != this.list.length){
				this.formData.page = this.formData.page+1;
				this.getList();
			}
		},
		methods: {
			getList(){
				this.request({
					url: '/xcx/orderList',
					data: this.formData,
					method: "POST"
				}).then(res => {
					if (res.data.code == 200) {
						this.total = res.data.data.total;
						this.list = this.list.concat(res.data.data.data);
					} else {
						uni.showToast({
							title: '请求失败，请稍后再试',
							icon: 'none'
						})
					}
				})
			},
			keytankuang(){
				this.bjstatus = true;
				this.keystatus = true;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
			},
			mendiantankuang(){
				this.bjstatus = true;
				this.keystatus = false;
				this.mendianstatus = true;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
			},
			jiedantankuang(){
				this.bjstatus = true;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = true;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
			},
			yuangongtankuang(){
				this.bjstatus = true;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = true;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
			},
			zhuangtaitankuang(){
				this.bjstatus = true;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = true;
				this.morestatus = false;
				this.morebjstatus = false;
			},
			moretankuang(){
				this.bjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morebjstatus = true;
				this.morestatus = true;
			},
			guanbi(){
				this.bjstatus = false;
				this.morebjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
			},
			keyxuanze(id,name){
				this.keyleixing_id = id;
				this.keyleixing_name = name.substring(0, 4);
				this.keywords = ''
				
				this.bjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
				
				//筛选
				this.formData.keyleixing_id = this.keyleixing_id;
				this.formData.keyleixing_name = this.keyleixing_name;
			},
			mendianxuanze(id,name){
				this.station_id = id;
				this.station_name = name.substring(0, 4);
				
				this.bjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
				
				//筛选
				this.formData.station_id = this.station_id;
				this.formData.page = 1;
				this.total = 0;
				this.list = [];
				this.getList();
			},
			jiedanxuanze(id,name){
				this.jiedan_id = id;
				this.jiedan_name = name.substring(0, 4);
				
				this.bjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
				
				//筛选
				this.formData.jiedan_id = this.jiedan_id;
				this.formData.page = 1;
				this.total = 0;
				this.list = [];
				this.getList();
			},
			yuangongxuanze(id,name){
				this.yuangong_id = id;
				this.yuangong_name = name.substring(0, 4);
				
				this.bjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
				
				//筛选
				this.formData.yuangong_id = this.yuangong_id;
				this.formData.page = 1;
				this.total = 0;
				this.list = [];
				this.getList();
			},
			statusxuanze(id,name){
				this.status_id = id;
				this.status_name = name.substring(0, 4);
				
				this.bjstatus = false;
				this.keystatus = false;
				this.mendianstatus = false;
				this.jiedanstatus = false;
				this.yuangongstatus = false;
				this.zhuangtaistatus = false;
				this.morestatus = false;
				this.morebjstatus = false;
				
				//筛选
				this.formData.status_id = this.status_id;
				this.formData.page = 1;
				this.total = 0;
				this.list = [];
				this.getList();
			},
			change(e) {
				this.sdate = e.startDate;
				this.edate = e.endDate;
				
				this.sdatelabel = e.startDate;
				this.edatelabel = e.endDate;
			},
			queren(){
				this.formData.sdate = this.sdate;
				this.formData.edate = this.edate;
				this.formData.orderLeixing = this.orderIndex;
				this.formData.baoLeixing = this.baoIndex;
				this.formData.attrIndex = this.attrIndex;
				
				this.morestatus = false;
				this.morebjstatus = false;
				
				this.formData.page = 1;
				this.total = 0;
				this.list = [];
				this.getList();
			},
			sousuo(){
				this.formData.keywords = this.keywords;
				
				this.formData.page = 1;
				this.total = 0;
				this.list = [];
				this.getList();
			},
			topage(url){
				uni.navigateTo({
					url
				})
			},
			fanhui() {
				uni.navigateBack();
			}
		}
	}
</script>

<style lang="scss" scoped>
	.device {
		width: 100%;
		margin: 0 auto;
		height: 100vh;
		background: #f9f9ff;
		overflow-y: scroll;

		.head {
			width: 100%;
			position: fixed;
			top: 0;
			left: 0;
			z-index: 99;
			background: linear-gradient(90deg, #f9f9ff, #d4e8ff);

			.xztitle {
				position: fixed;
				left: 0%;
				top: 0;
				width: 100%;
				text-align: left;
				color: #333333;
				font-size: 32rpx;
				padding-left: 74rpx;
				font-weight: 700;

				text {
					font-size: 24rpx;
				}

				.iconfont {
					position: absolute;
					top: 0;
					left: 30rpx;
					font-size: 44rpx;
				}
			}
		}

		.headtop {
			width: 100%;
			background: linear-gradient(90deg, #f9f9ff, #d4e8ff);
			height: 220rpx;
			position: relative;
			
			.sousuo{
				width: 100%;
				padding: 30rpx 40rpx 20rpx;
				box-sizing: border-box;
				
				.left{
					height: 60rpx;
					line-height: 60rpx;
					
					.name{
						color: #666666;
					}
					
					image{
						width: 44rpx;
						height: 44rpx;
						margin-top: 8rpx;
					}
				}
				
				.right{
					position: relative;
					
					input{
						width: 462rpx;
						height: 60rpx;
						line-height: 60rpx;
						background: #ffffff;
						border-radius: 30rpx;
						padding-left: 30rpx;
						color: #999999;
					}
					
					image{
						width: 72rpx;
						height: 40rpx;
						position: absolute;
						right: 10rpx;
						top: 10rpx;
						z-index: 10;
					}
				}
			}
			
			.tiaojian{
				width: 100%;
				background: rgba(139, 140, 255, 0.1);
				height: 72rpx;
				line-height: 72rpx;
				padding: 0 40rpx;
				
				.list{
					margin-right: 10rpx;
					height: 72rpx;
					line-height: 72rpx;
					
					.name{
						color: #333333;
						font-size: 24rpx;
						width: 96rpx;
						text-align: right;
						overflow: hiddden;
						text-overflow: ellipsis;
						white-space: nowrap;
					}
					
					image{
						width: 44rpx;
						height: 44rpx;
						margin-top: 14rpx;
					}
				}
				
				.more{
					font-size: 24rpx;
					color: #333333;
				}
				
				.listts{
					
					.name{
						width: 48rpx;
					}
				}
			}
		}
		
		.content{
			width: 100%;
			padding: 0 40rpx;
			box-sizing: border-box;
			margin-top: 0;
			padding-bottom: 40rpx;
			
			.list{
				width: 100%;
				background: #fff;
				border-radius: 20rpx;
				margin-bottom: 20rpx;
				padding: 26rpx;
				box-shadow: rgba(223, 230, 255, 0.67) 0px 0px 6px;
				
				.top{
					width: 100%;
					border-bottom: 1rpx solid #F1F1F1;
					padding-bottom: 20rpx;
					
					image{
						width: 72rpx;
						height: 72rpx;
						margin-right: 20rpx;
					}
					
					.title{
						font-size: 28rpx;
						color: #333333;
						font-weight: 700;
						margin-top: 22rpx;
						width: 60%;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
					}
					
					.money{
						font-size: 28rpx;
						color: #8B8CFF;
						margin-right: 8rpx;
						font-weight: 700;
						margin-top: 22rpx;
					}
				}
				
				.center{
					width: 96%;
					margin: 0 auto;
					margin-top: 20rpx;
					border-bottom: 1rpx solid #F1F1F1;
					padding-bottom: 20rpx;
					
					.desc{
						width: 90%;
						font-size: 24rpx;
						color: #333333;
						line-height: 44rpx;
					}
				}
				
				.bottom{
					width: 96%;
					margin: 0 auto;
					margin-top: 20rpx;
					position: relative;
					
					.name{
						width: 90%;
						font-size: 24rpx;
						color: #333333;
						float: left;
						line-height: 36rpx;
					}
					
					.desc{
						width: 90%;
						font-size: 24rpx;
						color: #333333;
						line-height: 44rpx;
					}
					
					image{
						width: 30rpx;
						height: 30rpx;
						position: absolute;
						top: 0;
						right: 0;
					}
				}
			}
		}
		
		.empty{
			width: 100%;
			margin: 200rpx auto 0;
			text-align: center;
			
			image{
				width: 390rpx;
				height: 340rpx;
			}
			
			text{
				display: block;
				margin-top: 60rpx;
				font-size: 24rpx;
				color: #666666;
			}
		}
		
		.morebeijing{
			position: fixed;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 100vh;
			background: #000000;
			opacity: 0.5;
			z-index: 100;
		}
		
		.moretankuang{
			position: fixed;
			bottom: 0;
			left: 0;
			width: 100%;
			background: #fff;
			z-index: 200;
			border-top-left-radius: 20rpx;
			border-top-right-radius: 20rpx;
			padding: 20rpx 0;
			
			.bankuai{
				
				.top{
					background: #FDFDFD;
					font-size: 32rpx;
					color: #333333;
					height: 72rpx;
					line-height: 72rpx;
					padding-left: 40rpx;
					box-sizing: border-box;
					border-bottom: 1rpx solid #DFE6FF;
				}
				
				.time{
					margin-top: 20rpx;
					margin-left: 40rpx;
					font-size: 24rpx;
					color: #333333;
					
					text:nth-of-type(1){
						font-size: 24rpx;
						color: #FA5E5C;
					}
					
					text:nth-of-type(2){
						font-size: 24rpx;
						color: #5C88FA;
					}
				}
				
				.bottom{
					margin-top: 40rpx;
					margin-bottom: 50rpx;
					
					text{
						display: inline-block;
						margin-left: 60rpx;
						width: 160rpx;
						height: 54rpx;
						text-align: center;
						border-radius: 16rpx;
						line-height: 54rpx;
						background: #F6F6F6;
						font-size: 24rpx;
						color: #333333;
					}
					
					.active{
						background: #E3F2FF;
					}
				}
				
				.bottomts{
					
					text{
						margin-left: 50rpx;
						width: 120rpx;
					}
				}
			}
			
			.queren{
				width: 180rpx;
				margin: 0 auto;
				height: 60rpx;
				line-height: 60rpx;
				border-radius: 16rpx;
				text-align: center;
				background: #3B91F8;
				margin-top: 100rpx;
				font-size: 28rpx;
				color: #FFFFFF;
			}
		}
		
		.beijing{
			position: absolute;
			top: 180rpx;
			left: 0;
			width: 100%;
			height: 78vh;
			background: #000000;
			opacity: 0.5;
			z-index: 100;
		}
		
		.tankuang{
			position: absolute;
			top: 180rpx;
			left: 0;
			width: 100%;
			height: 400rpx;
			background: #fff;
			overflow-y: scroll;
			z-index: 200;
			border-bottom-left-radius: 20rpx;
			border-bottom-right-radius: 20rpx;
			padding: 20rpx 0;
			
			.liebiao{
				width: 100%;
				height: 72rpx;
				line-height: 72rpx;
				text-align: center;
				position: relative;
				
				.wenzi{
					font-size: 24rpx;
					color: #999999;
				}
				
				image{
					width: 100%;
					height: 72rpx;
					position: absolute;
					top: 0;
					left: 0;
				}
			}
		}
	}
</style>